﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infinity.Statements.Declare;
using Infinity.Statements.Program;

namespace Infinity.Statements.StatementFactory.Program
{
	public class FunctionStatement : ProgramStatement, IFunctionStatement
	{
		public FunctionStatement()
		{
			Commands = new List<IStatement>();
			Parameters = new List<IParameterDeclareStatement>();
		}

		public IList<IStatement> Commands { get; set; }

		public IList<IParameterDeclareStatement> Parameters { get; set; }

		public Type ReturnType { get; set; }
	}
}